#!/bin/bash
if [ $# = 2 ]; then
	mysqldump -u $1 -p $2 > db.sql
	hg add
	hg commit
else
	echo USAGE: $0 [MySQL user] [MySQL database];
fi

